package com.jonluo.service;
import com.jonluo.model.SysMenu;

import java.util.List;


/**
 * @author jonluo
 * Date 2017/9/15
 */
public interface SysMenuService extends BaseService<SysMenu> {

    /**
     * 获取所有子菜单
     * @param parentId  上级部门ID 默认根目录parentId = “0”
     */
    List<SysMenu> queryAllMenuList(String parentId,List<String> menuIdList);

    /**
    * 获取下级菜单列表
    */
    List<SysMenu> querySubMenuList(String parentId,List<String> menuIdList);
}
